﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace CodeStudy.WCF.Models
{
    /// <summary>
    /// The base class of all request send to my service
    /// </summary>
    [DataContract]
    public class RequestBase
    {
        /// <summary>
        /// Gets or sets the name of the user.
        /// </summary>
        /// <value>
        /// The name of the user.
        /// </value>
        [DataMember]
        public string UserName { get; set; }

        /// <summary>
        /// Gets or sets the user token.
        /// </summary>
        /// <value>
        /// The user token.
        /// </value>
        [DataMember]
        public string UserToken { get; set; }

        /// <summary>
        /// Gets or sets the sent time.
        /// </summary>
        /// <value>
        /// The sent time.
        /// </value>
        [DataMember]
        public string SentTime { get; set; }
    }
}
